package com.xiaoyi.query;

import com.xiaoyi.equery.EQueryModel;
import com.xiaoyi.equery.ParamsModel;
import com.xiaoyi.equery.QueryResultModel;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @createTime 2023-02-22 22:23:00
 */
public interface QueryPlugin {

    public void setQueryPlugin(QueryPlugin queryPlugin);
    public SqlHolder beforeQuery(SqlHolder sql, ParamsModel paramsModel, EQueryModel eQueryModel);

    public QueryResultModel afterQuery(QueryResultModel queryResultModel);
}
